<?php
include("../../classes/bd.php");
include("../../classes/midia.php");
$_mid	= new midia();

$_mid->id	= $_REQUEST["midia"];



$deleta	= $_mid->ApagaMidiaYoutube();

if($deleta){
echo $_mid->id;
}else{
echo "error";
}


?>